package com.liuheng.spzx.user;

import com.liuheng.spzx.common.annotation.EnableUserWebMvcConfiguration;
import com.liuheng.spzx.common.config.RedisConfig;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Import;

@SpringBootApplication
@MapperScan("com.liuheng.spzx.user.mapper")
@Import(RedisConfig.class)
//@ComponentScan("com.liuheng.spzx.common.config")
@EnableUserWebMvcConfiguration
public class UserApplication {
    public static void main(String[] args) {
        SpringApplication.run(UserApplication.class, args);
    }
}
